<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<div id="messages"><form:errors path="*" cssClass="errors" /></div>

<div class="section"><br />
<h3>Reservation ${reservation.number} Completed</h3>

<br/><br/>

<c:forEach var="varTicket" items="${reservation.ticketCollection}" varStatus="row">
	<h6>Passenger ${row.index + 1} </h6> <br/>
	Seat Number in Flight ${varTicket.seatInDepartureFlight.flight.flightNumber}: ${varTicket.seatInDepartureFlight.number} <br/>
	Seat Number in Flight ${varTicket.seatInReturnFlight.flight.flightNumber}: ${varTicket.seatInReturnFlight.number} <br/>
	<br/>
	<br/>
</c:forEach>


<br/><br/>
<a href='<c:url value="/spring/jsp/booking"/>'>Book another Flight</a>




</div>